package org.nViron.nvTraces;

//~--- non-JDK imports --------------------------------------------------------

import java.util.HashMap;

import org.nViron.nvOrganism.nvOrganismMgr;
import org.nViron.nvOrganism.nvStateMgr;
import org.nViron.nvRender.nvRenderer;
import org.nViron.nvSim.nvSimulator;

/**
 * Manager class for all Traces
 * @author Roland Haring <p>
 * <script type="text/javascript" src="http://www.ohloh.net/p/376434/widgets/project_basic_stats.js"></script>
 */
public class nvTracesMgr extends nvOrganismMgr {
    public nvTracesMgr(nvSimulator simulator) {
        super(simulator);
    }

    public HashMap getTraces() {
        return getObjects();
    }

    public void removePlace(nvTrace trace) {
        trace.setState(nvStateMgr.DEGENERATING);
    }

    @Override
    public void render(nvRenderer renderer) {
        super.render(renderer);
    }

    @Override
    public void update(float timeStep) {
        super.update(timeStep);
    }
}



